#pragma once
#include <iostream>
#include <fstream>
#include <cstdarg>

#ifndef MYLIBRARY_H
#define MYLIBRARY_H

#ifdef _WIN32
    #define EXPORT __declspec(dllexport)
#else
    #define EXPORT
#endif

extern "C" {
    // 导出函数的声明
    EXPORT int square(int x);
    EXPORT int cube(int x);
    EXPORT int sum(int x, int y);
}

#endif // MYLIBRARY_H
